//
//  JsTableView_.m
//  JsoUtilitySdk
//
//  Created by Gikki Ares on 2021/9/14.
//

#import "JsTableView_.h"

@interface JsTableView_()

{

}

@end

@implementation JsTableView_

- (instancetype)init {
	if(self = [super init]) {
		[self commonInit];
	}
	return self;
}

- (instancetype)initWithFrame:(CGRect)frame {
	if(self = [super initWithFrame:frame]) {
		[self commonInit];
	}
	return self;
}

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style {
	if(self = [super initWithFrame:frame style:style]) {
		[self commonInit];
	}
	return self;
}

-(void)commonInit {

}
//
//- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
//	NSLog(@"touchesBegan");
//}
//
//- (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
//	NSLog(@"touchesMoved");
//}
//
//- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
//	NSLog(@"touchesEnded");
//}
//
//- (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
//	NSLog(@"touchesCancelled");
//}
//
//- (void)onTap:(UITapGestureRecognizer *)tap {
//	NSLog(@"Tap");
//		//模拟事件iqwe86
//	UIView * view = self.superview.superview;
////	return [view hitTest:point withEvent:event];
//}

//hitTest方法是触摸后第一个调用的函数,此时无法判断是否是点击.
//- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
//	NSLog(@"JsTableView_ Event is %@",event.description);
//	UIView * view = [super hitTest:point withEvent:event];
//	
//	
//	
////	dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
////		NSLog(@"dispatch Event is %@",event.description);
////		UIView * view = self.superview.superview;
////		UIView * view2 = view.subviews[0];
////
//////		UIView *  view3 = [view2 hitTest:point withEvent:event];
////	});
//	return view;
//}

@end
